//
//  ZFCustomControlView.h
//  ZFPlayer_Example
//
//  Created by 紫枫 on 2019/6/5.
//  Copyright © 2019 紫枫. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <ZFPlayer/ZFSliderView.h>
//#import "ZFSliderView.h"
NS_ASSUME_NONNULL_BEGIN

typedef void(^SliderValueChangingBlock)(CGFloat value,BOOL forward);
//#define SliderValueChangingBlock  void(^sliderValueChanging)(CGFloat value,BOOL forward)

@interface SliderView_icon : UIView
/// 加入授课包
@property (nonatomic, strong) UIImageView *leftIcon;
/// 分享
@property (nonatomic, strong) UIImageView *rightIcon;
/// 滑杆
@property (nonatomic, strong) ZFSliderView *slider;
/// slider滑动中
//@property (nonatomic, copy) void(^sliderValueChanging)(CGFloat value,BOOL forward);
@property (nonatomic, copy) SliderValueChangingBlock  sliderBlock;

- (void)showViewLeftIcon:(NSString *)leftIcon rightIcon:(NSString *)rightIcon sliderChangingBlock:(SliderValueChangingBlock )sliderChangingBlock;
- (void)showViewLeftIcon:(NSString *)leftIcon rightIcon:(NSString *)rightIcon;
@end

NS_ASSUME_NONNULL_END
